package com.sdgs.paas.sdk.core.jpa;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import org.springframework.boot.autoconfigure.data.jpa.JpaRepositoriesAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.context.annotation.Import;

import com.sdgs.paas.sdk.core.jdbc.pool.EnablePaasDS;

/**
 * 启用Jpa功能注解
 *
 * @author wjj
 *
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@EnablePaasDS
@Import({HibernateJpaAutoConfiguration.class,PaasJpaAutoConfiguration.class})
public @interface EnablePaasJPA {
}